package cn.qvtu.web.mapper;

import cn.qvtu.web.domain.Article;
import cn.qvtu.web.vo.ArticleVO;
import cn.qvtu.web.vo.HotArticleVO;
import cn.qvtu.web.vo.LatestArticleVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;


import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author qvtu
 * @since 2024-04-22
 */
@Mapper
public interface ArticleMapper extends BaseMapper<Article> {

    List<HotArticleVO> selectHotArticle();

    List<LatestArticleVO> selectLatestArticle();
    List<ArticleVO> selectArticle();

}

